from scipy.special import j0
# input data
frequency = 15
range1 = range(frequency )
range2 = range(frequency ** 2)

#matrix calculation
def matrix_calculation(freq, array):
  y = freq*2
  return y
 
#limit founding 
def limit_found(limit):
  return limit

#main function
def em_calculation(frequency, some_array1, some_array2):
  x = matrix_calculation(frequency, some_array1)
  y = limit_found(x)
  return y
  
print em_calculation(frequency, range1, range2)

